package com.zd.common.dao.common;

import java.util.List;

import com.zd.common.bean.model.BaseModel;

public interface BaseDao<T extends BaseModel> {
	void insert(T t);

	int update(T t);

	List<T> find(FindRequestEntity param);

	T get(Integer id);

	int del(int id);

	int count(List<WhereEntity> whereList);

	int delWhere(List<WhereEntity> whereList);
}
